package com.swt.gap.dao;

import com.swt.gap.model.entity.NodeFilter;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NodeFilterDao {
    int deleteByPrimaryKey(Integer filterId);

    int insertSelective(NodeFilter record);

    NodeFilter selectByPrimaryKey(Integer filterId);

    int updateByPrimaryKeySelective(NodeFilter record);

    List<NodeFilter> listAllFilterByUserIdAndTaskId(@Param(value = "userId") Integer userId, @Param(value = "taskId") Integer taskId);
}